MDrivenServer, serverside environment variables
Variables Defined by MDrivenServer When Running Server-side Jobs
If you want the serverside job to know which server it is running on, use server-defined variables as in the example below.
Then, you want to do logic in your serverside job that behaves differently depending on if you are in production or development:
There's nothing special with the variables themselves - more than that they are defined on a per-server basis.
Use any variable in MDrivenServer and pick up the setting when serverside jobs run by having a matching definition.
That is you need to declare the variables (again) in your ViewModel
This page was edited 107 days ago on 01/11/2024. What links here